<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
		<title></title>
		<script type="text/javascript">
			$(function() {
				$('#dg').datagrid({

					url: 'datagrid_data.json',

					columns: [
						[

							{
								field: 'code',
								title: 'Code',
								width: 100
							},

							{
								field: 'name',
								title: 'Name',
								width: 100
							},

							{
								field: 'price',
								title: 'Price',
								width: 100,
								align: 'right'
							}

						]
					]

				});

			})
		</script>
	</head>

	<body>

		<table id="dg"></table>

	</body>

</html>